package com.bis.ymyy.service;

import com.bis.ymyy.common.utils.AddUserInfo;
import com.bis.ymyy.entity.Doctor;

import java.util.List;

public interface DoctorService {
    List<Doctor> getAll();

    Doctor findById(int id);

    int modifyById(Doctor doctor);

    int deleteById(int id);

    Doctor login(String userName, String password);

    int addDoctor(String userName, String password);

    int addBaseDoctor(AddUserInfo userInfo);
    Doctor findByUserName(String userName);
}
